package com.qk.manangement.mapper;

import com.qk.common.response.ClueByIdResponse;
import com.qk.common.response.CluePoolPageResponse;
import com.qk.common.response.OverviewClueVO;
import com.qk.common.response.OverviewVO;
import com.qk.entity.pojo.Clue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qk.entity.pojo.TrackRecords;

import java.util.List;

/**
 * @Entity com.qk.entity.pojo.Clue
 */
public interface ClueMapper extends BaseMapper<Clue> {

    /**
     * 分页查询
     */
    List<Clue> pageList(Integer clueId, String phone, Integer status, Integer channel, String assignName);

    /**
     * 添加线索
     * @param clue
     * @return
     */
    boolean add(Clue clue);

    List< TrackRecords> getTrackRecordsByClueId(Integer ClueId);

   OverviewClueVO getOverviewInfor();


    List<CluePoolPageResponse> pagePoolList(Integer clueId, String phone, Integer channel);
}




